<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <base href="/" />
    <title>Redirecting...</title>
</head>
<body>
    <script type="text/javascript">
        function sparedirectEncode(loc, segmentCount) {
            return loc.protocol + '//' + loc.hostname + (loc.port ? ':' + loc.port : '') +
                loc.pathname.split('/').slice(0, 1 + segmentCount).join('/') + '/?route=/' +
                loc.pathname.slice(1).split('/').slice(segmentCount).join('/').replace(/&/g, '~and~') +
                (loc.search ? '&query=' + loc.search.slice(1).replace(/&/g, '~and~') : '') +
                loc.hash;
        }
        var l = window.location;
        l.replace(sparedirectEncode(l, 0));
    </script>
</body>
</html>
